package com.qf.service.impl;

import com.qf.model.StandardSubmit;
import com.qf.service.FilterChainService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 *
 * 5分钟限流策略
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
@Service("limitFiveMinutes")
@Slf4j
public class LimitFiveMinutesFilterServiceImpl implements FilterChainService {
    @Override
    public boolean strategy(StandardSubmit submit) {
        log.info("[策略模块 -- 限流策略]  策略开始执行！！ submit = {}", submit);
        return true;
    }
}
